package conf

import (
	"micro-grpc-server/library/database"
	"micro-grpc-server/library/logger"
	"micro-grpc-server/library/tracer"
	"micro-grpc-server/library/wechat"
)

type Config struct {
	ServerName  string                    `yaml:"-"`
	Tracer      tracer.Configuration      `yaml:"Tracer"`
	Logger      logger.Configuration      `yaml:"Logger"`
	Database    database.Configuration    `yaml:"Database"`
	Redis       wechat.RedisConfiguration `yaml:"Redis"`
	TestingMini wechat.MiniConfiguration  `yaml:"TestingMini"`
	Chaping     wechat.MpConfiguration    `yaml:"Chaping"`
}
